* {
    margin: 0;
    padding: 0;
}

body {
    font-size: 16px;
    background-color: #eee;
}

#container {
    width: 900px;
    margin: 0 auto;
}

#header {
    /* height: 220px; */
    margin-bottom: 5px;
    position: relative;
}

#header img {
    width: 900px;
    height: 200px;
}

#icon-list{
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 80px;
    height: 20px;
    text-align: center;
    background-color: rgba(255, 128, 128, 0.5);
}
#icon-list img{
    width: 20px;
    height: 20px;
}

#nav {
    height: 30px;
    line-height: 30px;
    margin-bottom: 5px;
    background-color: darkgreen;
    color: white;
    letter-spacing: 2px;
    text-align: center;
}

#nav a:link {
    color: white;
    text-decoration: none;
}

#nav a:visited {
    color: white;
    text-decoration: none;
}

#nav a:hover {
    color: yellow;
    text-decoration: none;

    border-bottom: 2px solid #ddd;
}

#nav a:active {
    color: yellow;
    text-decoration: none;
}

#main {
    display: flex;
}

#aside {

    flex: 0 0 300px;

    background-color:#00CC66;
    text-align: center;
    font-size: 14px;
    margin-bottom: 5px;
    margin-right: 5px;
}

#aside table{
    width: 90%;
    margin: 10px auto;
    line-height: 2em;
}

#aside th{
    font-size: 1.1em;
}

#image-list{
    width: 100px;
    margin: 20px auto;
}

.pol{
    width: 100px;
    padding: 10px;
    background-color: #eee;
    border: 1px solid #bfbfbf;
    box-shadow: 2px 2px 4px #aaa;
    border-radius: 5px;
    margin-bottom: 10px;
}
#image-list img{
    width: 100px;
    margin: 0 auto;
    
}

.rotate-left{
    transform: rotate(10deg);
}

.rotate-right{
    transform: rotate(-10deg);
}

#content {
    /* float: right;
    width: 595px; */

    flex:1;

    margin-bottom: 5px;
    background-color: #00CC99;
    /* height: 800px; */
}

.subcont{
    width: 570px;
    margin: 10px auto;
    clear: both;
}

.subcont img{
    width: 200px;
    margin: 5px;
    padding: 5px;
    float: left;
    border: 1px dashed black;
}

.subcont img:hover{
    transform: scale(1.1);
    transition: 0.7s;
}

.subcont .subtext{
    width: 55%;
    float: right;
    margin: 5px;
}

.subtext h2{
    margin: 5px;
}

.subtext p{
    font-size: 16px;
    line-height: 1.5em;
}

#footer {
    height: 40px;
    line-height: 40px;
    text-align: center;
    clear: both;
    background-color: darkgreen;
    font-size: 0.8em;
    color: #ccc;

    position:sticky;
    bottom:0;
}

#l-fix{
    position: fixed;
    top: 60px;
    left: 40px;

    display: flex;
    flex-direction: column;
    align-items: center;
}

#l-fix img{
    width: 80px;
}

.pol img:hover{
    transform: scale(1.1);
    transition: 0.7s;
}

#l-fix p{
    font-size: 0.8em;
    font-weight: 700;

}